﻿namespace WhoCanHelpMe.Web.Controllers.Search.Mappers
{
    #region Using Directives

    using AutoMapper;

    using Contracts;

    using Domain;

    using ViewModels;

    #endregion

    public class AssertionViewModelMapper : IAssertionViewModelMapper
    {
        public AssertionViewModelMapper()
        {
            Mapper.CreateMap<Assertion, AssertionViewModel>();
        }

        public AssertionViewModel MapFrom(Assertion input)
        {
            return Mapper.Map<Assertion, AssertionViewModel>(input);
        }
    }
}